<%@ Register TagPrefix="forumsAdmin" TagName="Footer" Src="footer.ascx" %>
<%@ Register TagPrefix="forumsAdmin" TagName="Header" Src="header.ascx" %>
<%@ Register TagPrefix="Components" Namespace="AspNetForums.Components" Assembly="AspNetForums.Components" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<%@ Page Language="c#" debug="true" CodeBehind="ManageNames.aspx.cs" AutoEventWireup="false" Inherits="AspNetForums.Admin.ManageNames" %>
<forumsAdmin:Header runat="server" id="Header1" />
		<form runat="server" ID="formManageName">
			<span class="forumName">
				<% = ResourceManager.GetString("ManageNames_Title")%>
			</span>
			<br>
			<span class="forumThread">
				<% = ResourceManager.GetString("ManageNames_SubTitle")%>
			</span>
			<p>
				<asp:DataList runat="server" ID="dlManageNames">
					<HeaderTemplate>
						<table cellspacing="1" cellpadding="3" Class="tableBorder" width="100%" id="tblManageNames">
							<tr>
								<td class="column" align="left" width="100%">
									<% = ResourceManager.GetString("ManageNames_About")%>
								</td>
								<td class="column" nowrap width="140px">
									<% = ResourceManager.GetString("Actions") %>
								</td>
							</tr>
					</HeaderTemplate>
					<ItemTemplate>
						<tr>
							<td class="f" width="100%">
								<%# DataBinder.Eval(Container.DataItem, "Name") %>
							</td>
							<td class="fh" width="140px">
								<asp:Button id="btnEdit" Runat=server CommandName="Edit" 
									Text='<%# ResourceManager.GetString("Edit") %>' />
								<asp:Button id="btnDelete" Runat=server 
									CommandName="Delete" 
									Text='<%# ResourceManager.GetString("Delete") %>' />
							</td>
						</tr>
					</ItemTemplate>
					<EditItemTemplate>
						<tr>
							<td class="f" width="100%">
								<asp:TextBox ID="txtName" Runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' />
							</td>
							<td class="fh" width="140px">
								<asp:Button id="btnUpdate" runat="server" CommandName="update" 
									Text='<%# ResourceManager.GetString("Update")%>' />
								<asp:Button id="btnCancel" runat="server" CommandName="cancel" 
									Text='<%# ResourceManager.GetString("Cancel")%>' />
							</td>
						</tr>
					</EditItemTemplate>
					<FooterTemplate>
						<tr>
							<td class="f" width="100%">
								<asp:TextBox Runat="server" ID="txtBannedName"></asp:TextBox></td>
							</td>
							<td class="fh" width="140px">
								<asp:Button Runat=server ID="btnCreate" CommandName="Create" 
									Text='<%# ResourceManager.GetString("Create") %>' />
							</td>
						</tr>
						</table>
					</FooterTemplate>
				</asp:DataList>
		</form>
<forumsAdmin:Footer runat="server" id="Footer1" />
